package com.skyc.service.impl;

import java.util.List;

import com.skyc.dao.OrderDao;
import com.skyc.dao.impl.OrderDaoImpl;
import com.skyc.entity.Order;
import com.skyc.service.OrderService;

public class OrderServiceImpl  implements OrderService{
    OrderDao odao=new OrderDaoImpl();
	@Override
	public List<Order> queryByUid(String uid) {
		return odao.queryByUid(uid);
	}
	@Override
	public boolean updateOpayedByOid(String oid) {
		return odao.updateOpayedByOid(oid);
	}
	@Override
	public boolean updateOsendByOid(String oid) {
		return odao.updateOsendByOid(oid);
	}
	@Override
	public boolean updateOstateByOid(String oid) {
		return odao.updateOstateByOid(oid);
	}
	@Override
	public boolean deleteByOid(String oid) {
		return odao.deleteByOid(oid);
	}
	@Override
	public Order queryByOid(String oid) {		
		return odao.queryByOid(oid);
	}
	@Override
	public boolean updateOtuihuoByOid(String oid, String num) {		
		return odao.updateOtuihuoByOid(oid, num);
	}
	@Override
	public boolean addOrder(Order order) {
		
		return odao.addOrder(order);
	}
	@Override
	public List<Integer> queryfirstoid(int num) {
		return odao.queryfirstoid(num);
	}

}
